package finance

class UserCashAccount {

	Long id
	Long version
	User user
	String name
	BigDecimal amount
	Currency currency
	
    static constraints = {
    }
	
	static mapping = {
		table 'user_cash_account'
		columns {
			id column: 'user_cash_account_id'
		}
	}
	
	String toString() {
		return "UserCashAccount: ${id}, ${user}, ${name}, ${amount}, ${currency}"
	}
}